package com.spring.cloud.test.config;

import com.netflix.loadbalancer.IRule;
import com.spring.cloud.test.ribbon.MyRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author zql
 * @date 2018/5/17 16:56
 */
@Configuration
public class RuleConfig {

    @Bean
    public IRule getRule(){
        return new MyRule();
    }
}
